home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Booting Gallery / Booting Gallery (source) / (Libraries) / Hubauer / FSUtilities / FileIDUtils.h next >
Encoding:
C/C++ Source or Header  |  1996-06-22  |  346 b   |  18 lines  |  [TEXT/KAHL]

  1. #pragma    once
  2. #include <Aliases.h>
  3.  
  4.  
  5. #if __cplusplus
  6. extern "C" {
  7. #endif
  8. OSErr    FSSpecToFileID(FSSpecPtr    theFile,long    *fileID);
  9. OSErr    FileIDToFSSpec(long fileID,short vRefNum,FSSpecPtr    theFile);
  10.  
  11.  
  12. OSErr    RefNumToFSSpec(short refNum,FSSpecPtr    theFile);
  13.  
  14. OSErr    AliasToFileID(AliasHandle    theAlias,short    *vRefNum,long    *fileID);
  15. #if __cplusplus
  16. }
  17. #endif
  18.